package com.bjtu.transactionclient.api.vo.request;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author caiyuli
 * @date 2020/4/25 4:16 下午
 */
public class SyncEntityRequest {

    @ApiModelProperty("索引号")
    @NotBlank(message = "查询的索引号不能为空")
    private String IndexNo;

    @NotBlank
    private String indexCode;

    @NotNull
    private Integer status;

    private LocalDateTime stamp;

    public String getIndexNo() {
        return IndexNo;
    }

    public void setIndexNo(String indexNo) {
        IndexNo = indexNo;
    }

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getStamp() {
        return stamp;
    }

    public void setStamp(LocalDateTime stamp) {
        this.stamp = stamp;
    }
}
